package de.stefanocke.roo.wicket.form;

import de.stefanocke.roo.wicket.MidUtils;
import de.stefanocke.roo.wicket.base.ModelClassAwareItdMetadataBase;
import de.stefanocke.roo.wicket.base.ModelClassAwareMetadataCreationParams;
import de.stefanocke.roo.wicket.form.formfields.FormFieldsMetadata;

/**

 */
public class FormMetadata extends ModelClassAwareItdMetadataBase<FormAnnotationValues> {
	public static final MidUtils midUtils = MidUtils.get(FormMetadata.class);

	private FormFieldsMetadata formFieldsMetadata;

	public FormMetadata(ModelClassAwareMetadataCreationParams<FormAnnotationValues> cmcp,
			FormFieldsMetadata formFieldsMetadata) {
		super(cmcp, new FormItdBuilder());

		this.formFieldsMetadata = formFieldsMetadata;
		buildItdTypeDetails();

	}

	public FormFieldsMetadata getFormFieldsMetadata() {
		return formFieldsMetadata;
	}

}
